cargo.git
8 years agoDrop unreferenced wild cards from copyright file.
Vasudev Kamath [Thu, 21 Sep 2017 16:13:34 +0000 (21:43 +0530)]
Drop unreferenced wild cards from copyright file.

8 years agoUpdate changelog (import 0.21.1).
Vasudev Kamath [Thu, 21 Sep 2017 16:11:22 +0000 (21:41 +0530)]
Update changelog (import 0.21.1).

8 years agoUpdated version 0.21.1 from 'upstream/0.21.1'
Vasudev Kamath [Mon, 18 Sep 2017 15:48:18 +0000 (21:18 +0530)]
Updated version 0.21.1 from 'upstream/0.21.1'

with Debian dir 11909be72f2dce9c35dfe09d07ff634ee4ed0bb2

8 years agoNew upstream version 0.21.1
Vasudev Kamath [Mon, 18 Sep 2017 15:47:02 +0000 (21:17 +0530)]
New upstream version 0.21.1

8 years agoIgnore sublime workspace file from hex crate.
Vasudev Kamath [Mon, 18 Sep 2017 15:35:02 +0000 (21:05 +0530)]
Ignore sublime workspace file from hex crate.

8 years agoMark tables.rs from unicode-normalization as unsuspicious.
Vasudev Kamath [Mon, 18 Sep 2017 15:34:23 +0000 (21:04 +0530)]
Mark tables.rs from unicode-normalization as unsuspicious.

This file was regenerated by upstream during recent release of crate.

8 years agoUpdate changelog.
Vasudev Kamath [Sun, 17 Sep 2017 16:02:27 +0000 (21:32 +0530)]
Update changelog.

8 years agoAdd myself as uploader for cargo package.
Vasudev Kamath [Sun, 17 Sep 2017 16:00:53 +0000 (21:30 +0530)]
Add myself as uploader for cargo package.

8 years agoRelease 0.20.0-2 to Debian unstable.
Ximin Luo [Thu, 14 Sep 2017 13:49:10 +0000 (15:49 +0200)]
Release 0.20.0-2 to Debian unstable.

8 years agoWork around #865549, fixes FTBFS on ppc64el
Ximin Luo [Thu, 14 Sep 2017 11:35:21 +0000 (13:35 +0200)]
Work around #865549, fixes FTBFS on ppc64el

8 years agoguess-crate-copyright: clone quietly for easier copy-paste of output
Ximin Luo [Thu, 14 Sep 2017 10:47:39 +0000 (12:47 +0200)]
guess-crate-copyright: clone quietly for easier copy-paste of output

8 years agoBump to 0.21.1
Alex Crichton [Sun, 10 Sep 2017 16:38:56 +0000 (09:38 -0700)]
Bump to 0.21.1

8 years agoUpdate error-chain to 0.11.0
Alex Crichton [Sun, 10 Sep 2017 16:38:29 +0000 (09:38 -0700)]
Update error-chain to 0.11.0

8 years agoEmpty commit to note that this was actually released to Debian unstable.
Ximin Luo [Thu, 24 Aug 2017 23:41:21 +0000 (01:41 +0200)]
Empty commit to note that this was actually released to Debian unstable.

8 years agoRelease 0.20.0-1 to Debian experimental.
Ximin Luo [Thu, 24 Aug 2017 17:13:02 +0000 (19:13 +0200)]
Release 0.20.0-1 to Debian experimental.

8 years agopython3-minimal => python3, otherwise lintian complains
Ximin Luo [Thu, 24 Aug 2017 17:12:36 +0000 (19:12 +0200)]
python3-minimal => python3, otherwise lintian complains

8 years agoUpdate d/changelog
Ximin Luo [Thu, 24 Aug 2017 16:54:20 +0000 (18:54 +0200)]
Update d/changelog

8 years agoUpdate TODO.Debian
Ximin Luo [Thu, 24 Aug 2017 16:47:25 +0000 (18:47 +0200)]
Update TODO.Debian

8 years agoFix some more lintian warnings
Ximin Luo [Thu, 24 Aug 2017 16:44:57 +0000 (18:44 +0200)]
Fix some more lintian warnings

- Update d/copyright for generated unicode-based files
- Add Suggests for the python scripts
- Add note about -C prefer-dynamic

8 years agoTry prefer-dynamic
Ximin Luo [Thu, 24 Aug 2017 15:55:57 +0000 (17:55 +0200)]
Try prefer-dynamic

8 years agoBuild the docs
Ximin Luo [Thu, 24 Aug 2017 15:55:36 +0000 (17:55 +0200)]
Build the docs

8 years agoUpdate d/copyright
Ximin Luo [Thu, 24 Aug 2017 15:46:47 +0000 (17:46 +0200)]
Update d/copyright

8 years agoCargo uses --verbose not VERBOSE
Ximin Luo [Thu, 24 Aug 2017 15:29:23 +0000 (17:29 +0200)]
Cargo uses --verbose not VERBOSE

8 years agoguess-crate-copyright: use "MIT" instead of "Expat" or "MIT-License"
Ximin Luo [Thu, 24 Aug 2017 15:29:14 +0000 (17:29 +0200)]
guess-crate-copyright: use "MIT" instead of "Expat" or "MIT-License"

Debian prefers "Expat" to "MIT" but we'll match debcargo(1) and the Rust ecosystem here

8 years agoUpdate d/copyright
Ximin Luo [Thu, 24 Aug 2017 15:21:38 +0000 (17:21 +0200)]
Update d/copyright

8 years agoDon't clean Cargo.toml.orig files
Ximin Luo [Thu, 24 Aug 2017 15:08:14 +0000 (17:08 +0200)]
Don't clean Cargo.toml.orig files

8 years agoUpdate TODO
Ximin Luo [Thu, 24 Aug 2017 15:06:42 +0000 (17:06 +0200)]
Update TODO

8 years agoUpdated version 0.20.0 from 'upstream/0.20.0'
Ximin Luo [Thu, 24 Aug 2017 15:02:05 +0000 (17:02 +0200)]
Updated version 0.20.0 from 'upstream/0.20.0'

with Debian dir c6acf78a710e8dc48d95c960778c203b5fc3276d

8 years agoNew upstream version 0.20.0
Ximin Luo [Thu, 24 Aug 2017 15:01:54 +0000 (17:01 +0200)]
New upstream version 0.20.0

8 years agoMake prune-checksums deterministic
Ximin Luo [Thu, 24 Aug 2017 14:52:49 +0000 (16:52 +0200)]
Make prune-checksums deterministic

8 years agoExclude the *.a files because we can't build them right now
Ximin Luo [Thu, 24 Aug 2017 14:27:51 +0000 (16:27 +0200)]
Exclude the *.a files because we can't build them right now

8 years agoAuto merge of #4401 - alexcrichton:beta-next, r=alexcrichton
bors [Sat, 12 Aug 2017 23:13:14 +0000 (23:13 +0000)]
Auto merge of #4401 - alexcrichton:beta-next, r=alexcrichton

[beta] Allow to skip test code during publishing

Backport of https://github.com/rust-lang/cargo/pull/4389

8 years agoRemove another unused mut
Alex Crichton [Sat, 12 Aug 2017 23:12:56 +0000 (16:12 -0700)]
Remove another unused mut

8 years agoUpdate error-chain dep for crates-io as well
Guillaume Gomez [Fri, 28 Jul 2017 19:37:08 +0000 (21:37 +0200)]
Update error-chain dep for crates-io as well

8 years agoUpdate to rc error chain
Guillaume Gomez [Fri, 28 Jul 2017 19:12:05 +0000 (21:12 +0200)]
Update to rc error chain

8 years agoFixed variables being unnecessarily mut.
Isaac van Bakel [Wed, 9 Aug 2017 14:37:54 +0000 (15:37 +0100)]
Fixed variables being unnecessarily mut.

8 years agoAllow to skip test code during publishing
Aleksey Kladov [Wed, 9 Aug 2017 21:54:09 +0000 (00:54 +0300)]
Allow to skip test code during publishing

8 years agoUpdate B-D, python3 needed for debian/scripts/*, ca-certificates should never be...
Ximin Luo [Tue, 1 Aug 2017 13:32:27 +0000 (15:32 +0200)]
Update B-D, python3 needed for debian/scripts/*, ca-certificates should never be needed

8 years agoAdd a TODO about dynamic linking
Ximin Luo [Tue, 25 Jul 2017 13:10:26 +0000 (15:10 +0200)]
Add a TODO about dynamic linking

8 years agoUpdate to latest Standards-Version; no changes required
Ximin Luo [Tue, 25 Jul 2017 13:05:38 +0000 (15:05 +0200)]
Update to latest Standards-Version; no changes required

8 years agoIgnore a failing test and add support for "nocheck"
Ximin Luo [Tue, 25 Jul 2017 12:59:11 +0000 (14:59 +0200)]
Ignore a failing test and add support for "nocheck"

8 years agoInstall all manpages, add more TODO
Ximin Luo [Tue, 25 Jul 2017 12:55:10 +0000 (14:55 +0200)]
Install all manpages, add more TODO

8 years agoTry to get cross-compiling working again
Ximin Luo [Tue, 25 Jul 2017 12:50:59 +0000 (14:50 +0200)]
Try to get cross-compiling working again

8 years agoUpdate packaging for 0.20.0, ./configure is gone
Ximin Luo [Tue, 25 Jul 2017 12:47:33 +0000 (14:47 +0200)]
Update packaging for 0.20.0, ./configure is gone

8 years agoUpdate patches
Ximin Luo [Tue, 25 Jul 2017 12:09:49 +0000 (14:09 +0200)]
Update patches

8 years agoAdd TODO.Debian
Ximin Luo [Tue, 25 Jul 2017 11:58:54 +0000 (13:58 +0200)]
Add TODO.Debian

8 years agoBump libgit2 B-D
Ximin Luo [Tue, 25 Jul 2017 11:51:17 +0000 (13:51 +0200)]
Bump libgit2 B-D

8 years agoFix cross-compiling declarations
Ximin Luo [Tue, 25 Jul 2017 11:45:32 +0000 (13:45 +0200)]
Fix cross-compiling declarations

Multi-Arch: foreign is for shared-data packages, see
https://wiki.debian.org/Multiarch/Implementation#Multi-Arch:_foreign_support_packages

Multi-Arch: allowed is for compilers and things, e.g. see python3 and make

8 years agoInstall some useful package maintenance scripts to /usr/share/cargo
Ximin Luo [Tue, 25 Jul 2017 11:35:13 +0000 (13:35 +0200)]
Install some useful package maintenance scripts to /usr/share/cargo

8 years agoMerge branch 'debian/sid' into debian/experimental
Ximin Luo [Tue, 25 Jul 2017 11:17:05 +0000 (13:17 +0200)]
Merge branch 'debian/sid' into debian/experimental

8 years agoRevert "Re-embed libgit2 0.25.1 due to the Debian testing freeze"
Ximin Luo [Tue, 25 Jul 2017 11:15:45 +0000 (13:15 +0200)]
Revert "Re-embed libgit2 0.25.1 due to the Debian testing freeze"

This reverts commit 46b4025df54bf7f3d48d6c1a2bc564c7b0e9854e.

8 years agoUpdated version 0.20.0 from 'upstream/0.20.0'
Vasudev Kamath [Sat, 22 Jul 2017 12:01:19 +0000 (17:31 +0530)]
Updated version 0.20.0 from 'upstream/0.20.0'

with Debian dir 53c89772334e8917391fa38462c14e600a1a4ffe

8 years agoNew upstream version 0.20.0
Vasudev Kamath [Sat, 22 Jul 2017 12:00:57 +0000 (17:30 +0530)]
New upstream version 0.20.0

8 years agoMark ar archive as unsuspicious
Vasudev Kamath [Sat, 22 Jul 2017 11:52:28 +0000 (17:22 +0530)]
Mark ar archive as unsuspicious

Not sure about this, it looks like these contains Windows object file
and needed by winapi crate.

8 years agoMark image and configure script unsuspicious.
Vasudev Kamath [Sat, 22 Jul 2017 11:51:44 +0000 (17:21 +0530)]
Mark image and configure script unsuspicious.

8 years agoMark test data as unsuspicious.
Vasudev Kamath [Sat, 22 Jul 2017 11:51:27 +0000 (17:21 +0530)]
Mark test data as unsuspicious.

8 years agoUpdate clean-cargo-deps.patch for 0.20.0
Vasudev Kamath [Sat, 22 Jul 2017 11:49:04 +0000 (17:19 +0530)]
Update clean-cargo-deps.patch for 0.20.0

8 years agoAuto merge of #4288 - matklad:bench-bench, r=alexcrichton
bors [Mon, 17 Jul 2017 14:32:21 +0000 (14:32 +0000)]
Auto merge of #4288 - matklad:bench-bench, r=alexcrichton

Allow `src/bench.rs` as a benchmark for legacy reasons

closes #4287
cc #3947

8 years agoAuto merge of #4286 - cbcoutinho:master, r=matklad
bors [Mon, 17 Jul 2017 10:37:08 +0000 (10:37 +0000)]
Auto merge of #4286 - cbcoutinho:master, r=matklad

Fix typo in zsh _cargo completions

None

8 years agoAllow `src/bench.rs` as a benchmark for legacy reasons
Aleksey Kladov [Mon, 17 Jul 2017 10:10:47 +0000 (13:10 +0300)]
Allow `src/bench.rs` as a benchmark for legacy reasons

closes #4287
cc #3947

8 years agoFix typo in zsh _cargo completions
Chris Coutinho [Sun, 16 Jul 2017 17:35:31 +0000 (19:35 +0200)]
Fix typo in zsh _cargo completions

8 years agoAuto merge of #4279 - tee-too:fix-3499, r=alexcrichton
bors [Thu, 13 Jul 2017 14:48:46 +0000 (14:48 +0000)]
Auto merge of #4279 - tee-too:fix-3499, r=alexcrichton

Fix support of `[target.'cfg(...)']` syntax for rustc and rustdoc flags

Support of `[target.'cfg(...)']` for rustc and rustdoc flags is buggy.
This adds meaningful tests and fixes the issue.

Fixes #3499

8 years agoAuto merge of #4281 - alexcrichton:backport3, r=alexcrichton
bors [Thu, 13 Jul 2017 13:56:56 +0000 (13:56 +0000)]
Auto merge of #4281 - alexcrichton:backport3, r=alexcrichton

[beta] Don't push empty paths in LD_LIBRARY_PATH

Fixes #4277.

8 years agoDon't push empty paths in LD_LIBRARY_PATH
Matt Brubeck [Thu, 13 Jul 2017 03:28:39 +0000 (20:28 -0700)]
Don't push empty paths in LD_LIBRARY_PATH

Fixes #4277.

8 years agoFix support of `[target.'cfg(...)']` syntax for rustc and rustdoc flags
tee-too [Thu, 13 Jul 2017 11:24:28 +0000 (13:24 +0200)]
Fix support of `[target.'cfg(...)']` syntax for rustc and rustdoc flags

Support of `[target.'cfg(...)']` for rustc and rustdoc flags is buggy.
This adds meaningful tests and fixes the issue.

Fixes #3499

8 years agoAuto merge of #4278 - mbrubeck:path, r=alexcrichton
bors [Thu, 13 Jul 2017 04:58:41 +0000 (04:58 +0000)]
Auto merge of #4278 - mbrubeck:path, r=alexcrichton

Don't push empty paths in LD_LIBRARY_PATH

Fixes #4277.  Note: I haven't written a test for this fix yet.

8 years agoAuto merge of #4276 - alexcrichton:revert2, r=alexcrichton
bors [Thu, 13 Jul 2017 04:19:23 +0000 (04:19 +0000)]
Auto merge of #4276 - alexcrichton:revert2, r=alexcrichton

[beta] Don't set MAKEFLAGS for build scripts

Closes #4156
Closes rust-lang/rust#42635

8 years agoLet two further tests tolerate col info in panics
est31 [Sun, 2 Jul 2017 13:38:29 +0000 (15:38 +0200)]
Let two further tests tolerate col info in panics

Needed by https://github.com/rust-lang/rust/pull/42938

I've now ripgrepped for "panicked at" and found no further
test that hardcodes the "filename:line$" format.

8 years agoDon't push empty paths in LD_LIBRARY_PATH
Matt Brubeck [Thu, 13 Jul 2017 03:28:39 +0000 (20:28 -0700)]
Don't push empty paths in LD_LIBRARY_PATH

Fixes #4277.

8 years agoassert_eq failure message now multi-line related to rust pull request 42541.
Giles Cope [Fri, 16 Jun 2017 07:40:05 +0000 (08:40 +0100)]
assert_eq failure message now multi-line related to rust pull request 42541.

8 years agoDon't set MAKEFLAGS for build scripts
Alex Crichton [Wed, 12 Jul 2017 21:15:56 +0000 (14:15 -0700)]
Don't set MAKEFLAGS for build scripts

Closes #4156
Closes rust-lang/rust#42635

8 years agoAuto merge of #4275 - alexcrichton:revert-makeflags, r=alexcrichton
bors [Wed, 12 Jul 2017 21:17:06 +0000 (21:17 +0000)]
Auto merge of #4275 - alexcrichton:revert-makeflags, r=alexcrichton

Don't set MAKEFLAGS for build scripts

Closes #4156
Closes rust-lang/rust#42635

8 years agoDon't set MAKEFLAGS for build scripts
Alex Crichton [Wed, 12 Jul 2017 21:15:56 +0000 (14:15 -0700)]
Don't set MAKEFLAGS for build scripts

Closes #4156
Closes rust-lang/rust#42635

8 years agoAuto merge of #4274 - sfackler:patch-1, r=alexcrichton
bors [Wed, 12 Jul 2017 17:26:25 +0000 (17:26 +0000)]
Auto merge of #4274 - sfackler:patch-1, r=alexcrichton

Add CircleCI badge to manifest reference

rust-lang/crates.io#807

8 years agoAdd CircleCI badge to manifest reference
Steven Fackler [Wed, 12 Jul 2017 17:12:25 +0000 (10:12 -0700)]
Add CircleCI badge to manifest reference

rust-lang/crates.io#807

8 years agoAuto merge of #4272 - behnam:doc, r=alexcrichton
bors [Wed, 12 Jul 2017 09:04:18 +0000 (09:04 +0000)]
Auto merge of #4272 - behnam:doc, r=alexcrichton

[doc/crates-io] Add text about packaging tests/benches

Fixes <https://github.com/rust-lang/cargo/issues/4262>

8 years ago[doc/crates-io] Add text about packaging tests/benches
Behnam Esfahbod [Tue, 11 Jul 2017 19:11:31 +0000 (13:11 -0600)]
[doc/crates-io] Add text about packaging tests/benches

Fixes <https://github.com/rust-lang/cargo/issues/4262>

8 years agoAuto merge of #4259 - matklad:conventions, r=alexcrichton
bors [Tue, 11 Jul 2017 19:13:22 +0000 (19:13 +0000)]
Auto merge of #4259 - matklad:conventions, r=alexcrichton

Conventions

r? @alexcrichton

I'd love to refactor our handing of inferring targets by convention, because it is super difficult to understand, and quite probably contains a couple of unintended/undocumented conventions (like `src/foo.rs` being a binary `foo` if there's no library in the package).

As a first step, I've just moved all the logic (600 loc) to a separate file from the `toml.rs` file, which used to be just **huge** (we even use in in IntelliJ Rust for performance testing :) ), and now it is "only" just above 1kloc :)

8 years agoAuto merge of #4267 - natboehm:add-index-flag-search, r=matklad
bors [Mon, 10 Jul 2017 17:08:27 +0000 (17:08 +0000)]
Auto merge of #4267 - natboehm:add-index-flag-search, r=matklad

Replace `cargo search --host` with `cargo search --index`

This change makes the command consistent with other versions of the same flag. `cargo search --host` is still supported, as well as `cargo search --index <index> --host <host>` in case of confusion. The three commands currently supported should produce the same behavior. All instances of `--host` are currently marked as deprecated, or for reuse as mentioned in issue #4208.

Fixes #4219

8 years agoModified tests to use '--index' instead of '--host', added test to support using...
Natalie Boehm [Mon, 10 Jul 2017 15:22:01 +0000 (11:22 -0400)]
Modified tests to use '--index' instead of '--host', added test to support using '--host' with warning message, added test to support using both '--host' and '--index' with warning message for host

8 years agorename '--host' to '--index', add comments marked as TODO where host should be remove...
Natalie Boehm [Mon, 10 Jul 2017 15:19:57 +0000 (11:19 -0400)]
rename '--host' to '--index', add comments marked as TODO where host should be removed/repurposed

8 years agoAuto merge of #4266 - nrc:force, r=alexcrichton
bors [Mon, 10 Jul 2017 14:27:19 +0000 (14:27 +0000)]
Auto merge of #4266 - nrc:force, r=alexcrichton

Add a way to force a unit of work to always be rebuilt

8 years agoAdd a way to force a unit of work to always be rebuilt
Nick Cameron [Mon, 10 Jul 2017 02:09:56 +0000 (14:09 +1200)]
Add a way to force a unit of work to always be rebuilt

8 years agoRearrange code
Aleksey Kladov [Sun, 9 Jul 2017 14:35:12 +0000 (17:35 +0300)]
Rearrange code

8 years agoSimplify
Aleksey Kladov [Sun, 9 Jul 2017 14:30:37 +0000 (17:30 +0300)]
Simplify

8 years agoUse Path::join instead of `/`
Aleksey Kladov [Sun, 9 Jul 2017 13:59:26 +0000 (16:59 +0300)]
Use Path::join instead of `/`

While `/` do work on windows, the resulting path will have literal `/`
in its display.

8 years agoFix more tests
Aleksey Kladov [Sun, 9 Jul 2017 13:27:08 +0000 (16:27 +0300)]
Fix more tests

8 years agoUse the same logic for benches
Aleksey Kladov [Sun, 9 Jul 2017 13:18:53 +0000 (16:18 +0300)]
Use the same logic for benches

8 years agoWarn about obsolete conventions for binary names
Aleksey Kladov [Sun, 9 Jul 2017 12:57:25 +0000 (15:57 +0300)]
Warn about obsolete conventions for binary names

8 years agoRemove Layout structure
Aleksey Kladov [Sun, 9 Jul 2017 11:07:36 +0000 (14:07 +0300)]
Remove Layout structure

8 years agoFix tests
Aleksey Kladov [Sun, 9 Jul 2017 10:31:42 +0000 (13:31 +0300)]
Fix tests

8 years agoMerge duplicate tests
Aleksey Kladov [Sun, 9 Jul 2017 10:10:24 +0000 (13:10 +0300)]
Merge duplicate tests

8 years agoWarn about legacy library paths
Aleksey Kladov [Sun, 9 Jul 2017 10:03:22 +0000 (13:03 +0300)]
Warn about legacy library paths

8 years agoSpecify conventions for benches, examples and tests only once
Aleksey Kladov [Sun, 9 Jul 2017 08:48:54 +0000 (11:48 +0300)]
Specify conventions for benches, examples and tests only once

8 years agoInfer benches, tests and examples without layout
Aleksey Kladov [Sun, 9 Jul 2017 08:08:21 +0000 (11:08 +0300)]
Infer benches, tests and examples without layout

8 years agoReduce code duplication in validation
Aleksey Kladov [Sat, 8 Jul 2017 22:31:43 +0000 (01:31 +0300)]
Reduce code duplication in validation

8 years agoUnify error message formatting
Aleksey Kladov [Sat, 8 Jul 2017 21:59:31 +0000 (00:59 +0300)]
Unify error message formatting

8 years agoUnify parameter order
Aleksey Kladov [Sat, 8 Jul 2017 21:58:25 +0000 (00:58 +0300)]
Unify parameter order

8 years agoReduce code duplication & fix error messages
Aleksey Kladov [Sat, 8 Jul 2017 21:55:38 +0000 (00:55 +0300)]
Reduce code duplication & fix error messages

8 years agoJettison normalize function and its closures!
Aleksey Kladov [Sat, 8 Jul 2017 21:35:05 +0000 (00:35 +0300)]
Jettison normalize function and its closures!